using System;
using System.Linq.Expressions;
using Close.io.Client;

namespace Close.io.API
{



	public static class CloseIoUpdate<TObject> where TObject : IIdentifiable
	{

		public static CloseIoUpdateBuilder<TObject> Add<TMember>(Expression<Func<TObject, TMember>> expression, TMember value)
		{
			if (expression == null)
			{
				throw new ArgumentNullException("expression");
			}

			return new CloseIoUpdateBuilder<TObject>().Add(expression,value);
		}
	}
}